<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<title>去签约</title>
		<link rel="stylesheet" href="__AGENT__/css/iconfont.css" />
		<link rel="stylesheet" href="__AGENT__/css/qianyue.css" />
		<link rel="stylesheet" href="__AGENT__/css/css.css" />
	</head>

	<body>
		{include file="public/header" /}
		<div class="index_conbox">
			<div class="index_content clearfix">
				{include file="public/lefter" /}
				<div class="right">
					<div class="rigtop">
						<span class="title"><a href="#">签约信息</a>&nbsp;</span>
					</div>
						<form id="my_form" class="layui-form update_form" method="post">
			<div class="layui-form-item">
				<label class="layui-form-label">商铺名称</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="agent_name"  value="{$data['agent_name']}" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item update_scbtn">
				<div class="layui-upload">
					<div class="layui-upload-list" style="    margin-left: 10%;">
						<img class="layui-upload-img" src="{$data['logo']}" style="width: 200px;height: 200px;margin-left:100px;">
						<p id="demoText"></p>
					</div>
				</div>
				<input type="hidden" name='thumb' id='thumb' />
			</div>
			<div class="layui-form-item">				
				<label class="layui-form-label">行业分类</label>
				<div  class="layui-input-block"  style="float: left; margin-right: 20px; margin-left: 0;">
					{$data['type_name']}
				</div>				
			</div>
			<div class="layui-form-item">
			
				<label class="layui-form-label">行业二级分类</label>
				<div class="layui-input-block"  style="float: left; margin-right: 20px; margin-left: 0;" >
					{$data['type_name2']}
				</div>			
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">联系人</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="user_name" value="{$data['user_name']}" placeholder="联系人" autocomplete="off" class="layui-input">
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">联系电话</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="mobile" value="{$data['mobile']}" placeholder="联系电话" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">店铺性质</label>
				<div class="layui-input-block" style="float: left; margin-right: 20px; margin-left: 0;">
					{if $data['store_property']==1}
						个人
						{elseif $data['store_property']==2}
						企业
						{else}
						个体户
					{/if}
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">绑定的会员</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="usermobile" value="{$data['user_id']}" placeholder="会员手机号" autocomplete="off" class="layui-input">
				</div>
			</div>
			
			<div class="layui-form-item">
				<label class="layui-form-label">市场专员手机号</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="scmobile" value="{$data.cm}" placeholder="市场专员手机号" autocomplete="off" class="layui-input">
				</div>
			</div>
			
			<!--
            	作者：xx
            	时间：2018-05-28
            	描述：签约内容
            -->
            <div class="shxx_title">签约信息</div>
			<div class="layui-form-item">
				<label class="layui-form-label">商户号</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="cb_login_name" value="{$data.cb_no}"  placeholder="商户号" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">员工密钥</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="cb_clerk" value="{$data.cb_clerk}"  placeholder="员工密钥" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">银行费率</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="cb_huilu" value="{$data.cb_huilu}"  placeholder="银行费率" autocomplete="off" class="layui-input">
				</div>
			</div>
			
			<!--
            	作者：xx
            	时间：2018-05-28
            	描述：银行信息
            -->
    		<div class="shxx_title">资金结算账号(用于结算收款资金的银行帐号)</div>
            <div class="layui-form-item">
				<label class="layui-form-label">账户名</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="account_name" value="{$data.account_name}" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">银行帐号</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="bank_account" value="{$data.bank_account}" lay-verify="required" placeholder="银行帐号" autocomplete="off" class="layui-input">
					<p class="redtip">用于结算收款资金的银行账号。务必与账户名对应，否则将影响资金到账</p>
				</div>				
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">开户银行</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="open_bank" value="{$data.open_bank}" lay-verify="required"  placeholder="开户银行" autocomplete="off" class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">支行名称</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="branch_name" value="{$data.branch_address}" lay-verify="required"  placeholder="支行名称" autocomplete="off" class="layui-input">
					<p class="redtip">支行名称为必填项</p>
				</div>			
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">支行所在地区</label>
				<div class="layui-input-block update_shurk">
					<input type="text" name="branch_address" value="{$data.branch_name}" lay-verify="required"  placeholder="支行所在地区" autocomplete="off" class="layui-input">
					<p class="redtip">支行所在地区为必填项</p>
				</div>				
			</div>
		</form>
	
				</div>
			</div>
		</div>
		{include file="public/footer" /}
	</body>

</html>
<script>
layui.use('form', function() {
	var form = layui.form;
});

//返 回
$('.fanhui').click(function() {
	location.href = "{:url('index/qianyue_step4',['agent_id'=>$agent_id])}";
})


//修改资质
$('.zizh_btn').click(function() {
	location.href = "{:url('index/qianyue_step1',['agent_id'=>$agent_id])}"
})
</script>
	<script type="text/javascript">
		$("img").click(function(){
			var html="<img src="+$(this).attr("src")+">";
			layer.open({
			  type: 1,
			  skin: 'layui-layer-rim', //加上边框
			  area: ['800px', '600px'], //宽高
			  content: html
			});
		})
		
	</script>